package net.hn.hnms.biz.emgcy.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: baijiajun
 * @Date: 2022/9/13
 */
@Data
@ApiModel(value = "应急物资VO")
public class MaterialVo implements Serializable {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("资源种类")
    private String type;

    @ApiModelProperty("资源名称")
    private String name;

    @ApiModelProperty("规格")
    private String specification;

    @ApiModelProperty("数量")
    private String quantity;

    @ApiModelProperty("计量单位")
    private String unit;

    @ApiModelProperty("资源存放地点")
    private String address;

    @ApiModelProperty("责任单位")
    private String dept;

    @ApiModelProperty("责任人")
    private String keeper;

    @ApiModelProperty("联系电话")
    private String phone;

    @ApiModelProperty("备注")
    private String description;

    @ApiModelProperty("创建着id")
    private Long  userId;

    @ApiModelProperty("创建人")
    private String  createUserName;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createdAt;


    @ApiModelProperty("物资型号")
    private String version;

    @ApiModelProperty("物资购入时间")
    private String tobuyAt;
    @ApiModelProperty("物资生产厂家")
    private String manufacturer;
    @ApiModelProperty("物资出厂日期")
    private String productAt;
    @ApiModelProperty("物资有效期截止日")
    private String validityAt;

    @ApiModelProperty("物资性能说明")
    private String performance;


    @ApiModelProperty("负责保管人电话")
    private String tel;

    private String keyword;

    private String ognztId;
    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updatedAt;
    private String deleted;

    private Object[] code;

    /**
     * 总数
     */
    @ApiModelProperty(value = "总数")
    private Integer total;
}
